//==============================================================================
// library of gondor_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt


//==============================================================================
define dust
{
	set hotspot
	{
		version
		{
			Visualparticle SFX A Meteor Dust
		}
	}
}

//==============================================================================
define Roof
{
	set hotspot
	{
		version
		{
			Visual Building Beta G House Roof
Replacetexture Building G Shared01 2 map/Building Beta G House Roof
		}
	}
}
//==============================================================================
define Roof2
{
	set hotspot
	{
		version
		{
			Visual Building Beta G House Roof2
Replacetexture Building G Shared01 2 map/Building Beta G House Roof
		}
	}
}
//==============================================================================
define blast
{
	set hotspot
	{
		version
		{
			Visualparticle SFX A Meteorite shockwave
		}
	}
}

//==============================================================================
define groundfire
{
	set hotspot
	{
		version
		{
		   Visualparticle SFX A Meteor GroundFire
		}
	}
}

//==============================================================================
anim Idle
{
      SetSelector 
      {
      	ConstructionLogic 0 25 50 75
      	set hotspot
      	{
       		version
       		{
			Visual Building Beta G House
                        connect hotspot Roof hotspot
                        connect hotspot Roof2 hotspot
		   		replaceTexture building g temple02 2 map/building g house low
		   		replaceTexture building g temple03 2 map/building g house low floor
       		}
      	}
	set hotspot
	{
		version
		{
			Visual Building Construction Large A
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
	set hotspot
	{
		version
		{
			Visual Building Construction Large B
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
	set hotspot
	{
		version
		{
			Visual Building G FortressConstruction
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
	set hotspot
	{
		version
		{
			Visual Building G Construction Fortress2
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
      }
}

//==============================================================================
anim Death
{
      SetSelector 
      {
      	ConstructionLogic 0 25 50 75
      	set hotspot
      	{
       		version
       		{
			Visual Building Beta G House
                        connect hotspot Roof hotspot
                        connect hotspot Roof2 hotspot
		   		replaceTexture building g temple02 2 map/building g house low
		   		replaceTexture building g temple03 2 map/building g house low floor
			connect AttachPoint blast hotspot
			connect FIRE GroundFire hotspot
       			connect LeftHand Dust hotspot
			connect RightHand Dust hotspot
			connect LeftLeg Dust hotspot
			connect RightLeg Dust hotspot
			connect LeftFoot Dust hotspot
			connect RightFoot Dust hotspot
       		}
      	}
	set hotspot
	{
		version
		{
			Visual Building Construction Large A
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
	set hotspot
	{
		version
		{
			Visual Building Construction Large B
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
	set hotspot
	{
		version
		{
			Visual Building G FortressConstruction
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
	set hotspot
	{
		version
		{
			Visual Building G Construction Fortress2
			connect attachpoint G_Long_Brick hotspot
			connect face G_Long_Brick hotspot
			connect chin G_Medium_Brick hotspot
			connect leftfoot G_Medium_Brick hotspot
			connect lefthand G_Small_Brick hotspot
			connect leftleg G_Small_Brick hotspot
		}
	}
      }
}
